CC =  gcc
CFLAGS = -Wall -O2 -I$(@D)
OBJS1 = host.c http.c ftp.c ants.c download.c wait_read.c
OBJS2 = host.o http.o ftp.o ants.o download.o wait_read.o
all: ants
ants: $(OBJS)
	$(CC) $(CFLAGS)  -c $(OBJS1)
	$(CC) $(CFLAGS)  -o ants $(OBJS2)
	rm *.o
asm:   $(OBJS)
	$(CC) $(CFLAGS)  -S $(OBJS1)
clean: 
	rm -f ants *.s *.o

